﻿@model Text2Rss.Web.DtoModels.EditFeedModel

@{
    ViewBag.Title = "Edit";
}

<h2>Edit Post</h2>
@using (Html.BeginForm())
{
    <div>
        <fieldset>
            <legend>Feed parameters</legend>

            <div class="editor-label">
                @Html.LabelFor(m => m.Title)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Title)
                @Html.ValidationMessageFor(m => m.Title)
            </div>

            <div class="editor-label">
                @Html.LabelFor(m => m.Author)
            </div>
            <div class="editor-field">
                @Html.TextBoxFor(m => m.Author)
                @Html.ValidationMessageFor(m => m.Author)
            </div>

            <input type="file" name="file" id="file" />

            <p>
                <input type="submit" value="Create Feed" />
            </p>
        </fieldset>
    </div>
}
